Installation to Add Adapter to IAP (Optional)
IAP uses network and OSS adapters to facilitate the integration of IAP with various systems and applications.
In order to add a new adapter to IAP, the adapter module must be installed under node_modules within the IAP installation directory.
npm Package
The following steps demonstrate installing the adapter, from the npm registry and in its package form.
cd /opt/pronghorn/current
# Install "latest".
npm install @itentialopensource/adapter-db_mongo
# Install, or upgrade, a specific version.
npm install @itentialopensource/adapter-db_mongo@1.2.3Source
Alternatively, an adapter may be installed from source.
cd /opt/pronghorn/current/node_modules/@itential
git clone git@gitlab.com:itentialopensource/adapters/persistence/adapter-db_mongo
cd adapter-db_mongo
npm ciWhen you must upgrade, or change versions of an adapter, perform the following steps.
cd /opt/pronghorn/current/node_modules/@itential/adapter-db_mongo
git checkout master
git pull
# If you need to see a list of all the tags/version numbers: `git tag`.
git checkout <your desired version number>
git pull
rm -rf node_modules
npm ciOnce the adapter module is installed, restart IAP and the adapter will be auto-discovered during IAP startup and become available when adding an adapter via the IAP UI.
The following steps will add an available adapter to IAP.
- Access the IAP Web UI. 
- Browse to - Settings→- Services.
- Select the plus - buttonnext to- Adapters, enter the desired name of the adapter and select the type, and then click the- save icon.
- A skeleton JSON object of the Service Configuration for the adapter will be created and can be edited to match your environment.  
- Save your final adapter Service Configuration. The adapter status can be confirmed from - Settings→- System→- Adapters.
Additional Information
- For more information on adapter integration, see the IAP Integrations section under the IAP Admin Guide.
- See the Itential Open Source repository for all the adapters that are available.
- Lastly, see the Adapters Technical Resources site for a library of information related to adapters.